home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Matt's Scripts Folder / Don't read me! < prev    next >
Text File  |  1994-03-27  |  3KB  |  17 lines

  1. All scripts, DITLs, and documentation are ©1994 Matthew Ahrens. These scripts are free, but I retain all copyrights. Please contact me if you would like to distribute these in a commercial package or on any medium larger than 2MB. These may not be sold without my specific approval. You can contact me via the internet at "ai261@freenet.carleton.ca"
  2.  
  3. Replace in text editor
  4. This adds a "replace" feature to any scriptable text editor, such as the Scriptable Text Editor included with AppleScript. It needs the "Find/Replace DITL" file. It will ask you where it is the first time, but then it will remember where it is. It also remembers what the settings in the dialog are. Requires the following OSAXen: DialogRunner, Choose File, and the "Textual Replace" module in the "XCMD OSAX". They are all available via FTP from "gaea.kgs.ukans.edu" in the "applescript/osax" directory.
  5.  
  6. Dial Number
  7. Lets you dial a phone number from your compter by typing in the person's name. You can dial to the modem or the speaker. If you dial to the speaker, hold the microphone part of your handset next to your computer's speaker. Dialing via speaker may not work on all phones. Requires the "Dial Number DITL" file. Also requires the "Acid Jazz" application, and the following OSAXen: DialogRunner and the "Switch to Launcher" osax from the GTQ Programming Suite. They are available via FTP from "gaea.kgs.ukans.edu" in the "applescript" directory. *IMPORTANT*: If you edit the script, and save any changes to it, your phone book will be COMPLETELY DELETED! If you wish to save changes to this script, first run the script from within the Script Editor. Bring up the "Result" dialog, and copy it. Paste it in the first line, in between the brackets. The line should read when you are finished:
  8. property PhoneBook : {"matt", "288-2706", "joe", "123-4567"}
  9. with your entries between the brackets. then you can modify it, and add or delete any entries you like later. When you want to save changes to the script later, just paste the result after running the script betwen the brackets, replacing what was there before.
  10.  
  11. Number Lines
  12. Numbers the paragraphs in any scriptable text editor. It puts the correct number of zeros in front of each number to make all the numbers the same length. This is useful if you are numbering lines of code or any other text where there is one line per paragraph. Requires the "Progress Bar" application, which I think is at the gaea FTP site, but I am sure it is included in the "Tao of AppleScript" book. I got the idea from "Tao", but almost all of the programming is my own.
  13.  
  14. Get Item Info
  15. gets lots of information about files and folders. doesn't require anything but Apple's OSAXen. Sorry that the code is so hard to read. I hope that you can figure it out.
  16.  
  17. I also have a "Find in text editor" script, but it still needs just a bit of refining, which I don't have time for right now. If you like these scripts and would like the "Find" script also, just email me.